package com.iweb.education.teacher.dao;

import com.iweb.education.teacher.model.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherDao {
    public Teacher selectByUsernamePassword(String teachername, String teacherpassword);

    // 获取总记录数
    int getTotalStudentCount();

    // 获取分页数据
    List<Student> getStudentsByPage(int start, int pageSize);
    public Student getStudentById(int sid);
    public boolean updateStudent(Student student);
    public boolean deleteStudent(int sid);
}
